import { createApp } from 'vue'

import App from './App.vue'
import router from './router'
//导入从stores导出pinia对象
import {pinia} from './stores/index'
import 'virtual:svg-icons-register'

import 'vant/lib/index.css'
import './styles/main.scss'
import './styles/room.scss'
import './styles/login.scss'
const app = createApp(App)
//使用导入pinia（持久化）
app.use(pinia)
app.use(router)

app.mount('#app')
